import request from "@/utils/request"

export const getWarehousingEntryPageApi = (page,pageSize)=>request.get(`/warehousing_entry?page=${page}&pageSize=${pageSize}`)

export const deleteWarehousingEntryApi = (id) => request.delete(`/warehousing_entry/${id}`)

export const addWarehousingEntryApi = (data) => request.post('/warehousing_entry', data)

export const updateWarehousingEntryApi = (data) => request.put(`/warehousing_entry`, data)

export const getWarehousingEntryListApi = ()=>request.get(`/warehousing_entry/list`)

export const getDetailsApi = (id) => request.get(`/warehousing_entry/${id}`)